import { createApp } from 'vue'
import router from './router'
import {store} from './store'
import i18n, {languages} from '@/locales/index'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.less';
import '@/styles/index.less';
import SvgIcon from '@/components/svgIcon'
import App from './App.vue'

const app = createApp(App)

app.use(Antd, {
  size: 'small',
  locale: languages[localStorage['locale'] || 'zh-cn']
})
.use(i18n)
.use(router)
.use(store)

.component('svg-icon', <SvgIcon></SvgIcon>)
.mount('#app')



